#!/usr/bin/python
# -*- coding: utf-8 -*-

from django.conf.urls.defaults import patterns, url

urlpatterns = patterns('web.admin',
    url(r'^index/$', 'views.index', name='admin-index'),
    url(r'^ulist/$', 'views.user_list', name='admin-user-list'),
    url(r'^plist/$', 'views.page_list', name='admin-page-list'),
    url(r'^prlist/$', 'views.privilege', name='admin-privilege-list'),
    url(r'^login/$', 'views.login', name='admin-login'),
    url(r'^logout/$', 'views.logout', name='admin-logout'),
    url(r'^get_check_code_image/$', 'views.get_check_code_image'),
    url(r'^noprivilege/$', 'views.noprivilege'),
    
    url(r'^type/$', 'views.type_list',name='admin-type-list'),
    url(r'^article_list/$', 'views.article_list',name='admin-article-list'),
    url(r'^article_info/$', 'views.article_info'),
    url(r'^article_add/$', 'views.article_add'),
    url(r'^pic_add/$', 'views.pic_add'),
)